#ifndef WORDS_H_INCLUDED
#define WORDS_H_INCLUDED

#include <string>
#include <vector>

#define N_WORDS 6

typedef struct _word {
    char *text;
    char *describe;
} Word;

class WordMaster {
    std::vector<int> __Order;
    int __OrderIndex;

    void GenerateOrder();

public:
    WordMaster();

    std::vector<Word>& GetGlobalWords();
    void InitWords(const char *path);
    Word GetWord();
};

void FreeAllWords(std::vector<Word> &words);
void FillWithTestWords();

#endif // WORDS_H_INCLUDED
